document.write('<style type="text/css">\n');
document.write('/* common css */\n');
document.write('.blenza-wrapper {\n');
document.write('  clear: left;\n');
document.write('}\n');
document.write('\n');
document.write('.blenza-top table, .blenza-top tr td, .blenza-top tr, .blenza-top td {\n');
document.write('  border: 0 !important;\n');
document.write('  padding: 0 0 0 0 !important;\n');
document.write('  margin: 0 !important;\n');
document.write('}\n');
document.write('\n');
document.write('.blenza-box table {\n');
document.write('  width: 100%;\n');
document.write('}\n');
document.write('\n');
document.write('.blenza-tdl {\n');
document.write('  text-align: right;\n');
document.write('}\n');
document.write('\n');
document.write('.blenza-tdm {\n');
document.write('  text-align: center;\n');
document.write('}\n');
document.write('\n');
document.write('.blenza-tdr {\n');
document.write('  text-align: left;\n');
document.write('}\n');
document.write('\n');
document.write('.blenza-box table, .blenza-box tr td, .blenza-box tr, .blenza-box td {\n');
document.write('  border: 0 !important;\n');
document.write('  padding: 4px 0 !important;\n');
document.write('  margin: 4px 0 !important;\n');
document.write('}\n');
document.write('\n');
document.write('.blenza-box input.blenza-input {\n');
document.write('  width: 90%;\n');
document.write('  margin: 0;\n');
document.write('}\n');
document.write('\n');
document.write('.blenza-inn table, .blenza-inn td {\n');
document.write('  border: 0 !important;\n');
document.write('  padding: 0 0 !important;\n');
document.write('  margin: 0 0 !important;\n');
document.write('}\n');
document.write('\n');
document.write('/* css for widget style default */\n');
document.write('/* common css */\n');
document.write('.blenza-wrapper {\n');
document.write('  clear: left;\n');
document.write('}\n');
document.write('\n');
document.write('.blenza-top table, .blenza-top tr td, .blenza-top tr, .blenza-top td {\n');
document.write('  border: 0 !important;\n');
document.write('  padding: 0 0 0 0 !important;\n');
document.write('  margin: 0 !important;\n');
document.write('}\n');
document.write('\n');
document.write('.blenza-box table {\n');
document.write('  width: 100%;\n');
document.write('}\n');
document.write('\n');
document.write('.blenza-tdl {\n');
document.write('  text-align: right;\n');
document.write('}\n');
document.write('\n');
document.write('.blenza-tdm {\n');
document.write('  text-align: center;\n');
document.write('}\n');
document.write('\n');
document.write('.blenza-tdr {\n');
document.write('  text-align: left;\n');
document.write('}\n');
document.write('\n');
document.write('.blenza-box table, .blenza-box tr td, .blenza-box tr, .blenza-box td {\n');
document.write('  border: 0 !important;\n');
document.write('  padding: 4px 0 !important;\n');
document.write('  margin: 4px 0 !important;\n');
document.write('}\n');
document.write('\n');
document.write('.blenza-box input.blenza-input {\n');
document.write('  width: 90%;\n');
document.write('  margin: 0;\n');
document.write('}\n');
document.write('\n');
document.write('/* css for widget style default */\n');
document.write('.blenza-box {\n');
document.write('  border: 3px solid #000;\n');
document.write(' -moz-border-radius: 12px;\n');
document.write('  border-radius: 12px;\n');
document.write('  text-align: center;\n');
document.write('  padding: 4px\n');
document.write('}\n');
document.write('\n');
document.write('.blenza-inn table, .blenza-inn td {\n');
document.write('  border: 0 !important;\n');
document.write('  padding: 0 0 !important;\n');
document.write('  margin: 0 0 !important;\n');
document.write('}\n');
document.write('\n');
document.write('\n');
document.write('/* NO css for link color default */\n');
document.write('\n');
document.write('</style>\n');
document.write('\n');


var blenza_opt_namemax = 80;
var blenza_opt_linkmax = 152;

var bzloc_youfirst = "You&#39;re first";
var bzloc_younext = "You&#39;re next";
var bzloc_ifparticip = "If you are participating in";
var bzloc_toaddlink = "To add your entry to the list";
var bzloc_enter = "Enter";
var bzloc_next = "Next";
var bzloc_siteusing2a = "fill in the form below and press ";
var bzloc_siteusing2 = bzloc_siteusing2a + bzloc_enter + ".";
var bzloc_thumb2a = " to add your thumbnail.";
var bzloc_thumb2 = bzloc_siteusing2a + bzloc_next + bzloc_thumb2a;
var bzloc_siteusing3 = "click here and fill in the form that pops up";
var bzloc_yourname = "Your&nbsp;name";
var bzloc_yoururl = "Your&nbsp;URL";
var bzloc_comment = "Please leave a comment after linking... Thank you!";
var bzloc_checkname = "Please enter your name.";
var bzloc_namelength = "The length of your name must be less than or equal to";
var bzloc_checkurl = "Please enter your link URL.";
var bzloc_urllength = "The length of your URL must be less than or equal to";
var bzloc_urlprefix = "Link URL must begin with &#39;http://&#39;";
var bzloc_sharedmeme = "Shared Meme - Click to Subscribe";
var bzloc_clicktodisp = "Click here to display the links for this post";
var bzloc_upgrademult = "You may upgrade to display more than one <i>Linky</i> at a time";
var bzloc_owner = "Blog Owner";
var bzloc_export = "If you wish to export this list to HTML, click here";
var bzloc_disablemsg = "Click here to disable this message";
var bzloc_whatthis = "What is this?";
var bzloc_expiry = "Linky Widget expiration";
var bzloc_winner = "Winning entry";
var bzloc_caching = "Caching system in use... links may take a minute to post";
var bzloc_thumbnext = "Click here to add your thumbnail if the pop-up does not appear.";
var bzloc_cktool = "Click <u>here</u> for Mister Linky&#39;s name/URL cookie removal tool.";
var bzloc_nopopwin = "Unable to open the thumbnail popup window. Check your browser settings.";
var bzloc_maint = "Please read about the upcoming system maintenance";
var bzloc_bugcheck = "An internal error has occurred. Please report this at http://www.misterlinky.net/helpdesk/";
var bzloc_dashboard = "Dashboard";
var bzloc_clickdisp = "Click to display the links and settings for this widget"
blenza_ifr = null;

var blenza_newwin = 1;

function getIEVersion(){
    var agent = navigator.userAgent;
    var reg = /MSIE\s?(\d+)(?:\.(\d+))?/i;
    var matches = agent.match(reg);
    if (matches != null) {
        return { major: matches[1], minor: matches[2] };
    }
    return { major: "-1", minor: "-1" };
}

var ie_version =  getIEVersion();
var is_ie10 = ie_version.major == 10;
var is_ie9e = ie_version.major > 0 && ie_version.major <= 9;

if (!blenza_inited) {
  var blenza_whoName = null;
  var blenza_whoEmail = null;
  var blenza_whoURL = null;
  var blenza_user = null;
  var blenza_xurl = null;
  var blenza_showredx = true;
  var blenza_color = null;

  var blenza_thumbGetter = null;
  var blenza_thumbExternal = null;
  var blenza_thumbRoot = new Array();
  var blenza_thumbApprove = null;

  var blenza_border = "#000";
  var blenza_gray = "#888";

  var blenza_meme_unset = new Array();
  var blenza_meme_id = new Array();
  var blenza_meme_name = new Array();
  var blenza_meme_text = new Array();
  var blenza_meme_shared = new Array();

  var blenza_nourl = new Array();
  var blenza_hideurl = new Array();

  var blenza_ord = 0;

  var blenza_expiration = null;

  var blenza_memelinks = true;

  var blenza_winnerName = null;
  var blenza_winnerUrl = null;

  var blenza_bycol = 1;

  var blenza_fliplinks = 0;

  blenza_dynamic = false;
  var metas = document.getElementsByTagName("meta");
  for (var i = 0; i < metas.length; i++) {
    if (metas[i].name == "blogger-template")
      blenza_dynamic = metas[i].content == "dynamic";
  }
}

var blenza_ntu = new Array();

function blenza_xhr()
{
  if (window.XMLHttpRequest) return new XMLHttpRequest();
  else if (window.ActiveXObject) return new ActiveXObject("Microsoft.XMLHTTP");
  else return null;
}

function blenza_xml(text)
{
  if (text.message != null) text = text.message;
  var xml;
  if (text.length >= 5 && text.substring(0, 5) == "<?xml") xml = text;
  else xml = "<?xml version='1.0' encoding='utf-8'?><blenza><status>request-error</status><error>" + text + "</error></blenza>";
  return blenza_parse(xml);
}

function blenza_parse(xml)
{
  var doc;
  if (window.DOMParser) {
    var p = new DOMParser();
    doc = p.parseFromString(xml,"text/xml");
  }
  else {
    doc = new ActiveXObject("Microsoft.XMLDOM");
    doc.async = false;
    doc.loadXML(xml); 
  } 
  return doc;
}

function blenza_send(url, data, postid, cb)
{
  // hack: if it's IE9 or earlier, just do a get and be done with it
  if (is_ie9e) {
    var img = document.getElementById("status-" + postid);
    if (img != null) {
      var now = new Date().getTime();
      img.src = url + "?" + data + "&iehack=true&ts=" + now;
    }
    cb(blenza_xml("<?xml version='1.0' encoding='utf-8'?><blenza><status>success</status></blenza>"));
    return;
  }

  try {
    var method = data ? "POST" : "GET";
    var req = blenza_xhr();
    req.open(method, url, true);
    if ("withCredentials" in req) {
      req.withCredentials = true;
    }
    if (method == "POST")
      req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=utf-8");
    req.onreadystatechange = function() {
      if (req.readyState !== 4) return;
      if (req.status != 200) {
        cb(blenza_xml("Unexpected request status " + req.status));
      }
      else if (req.responseXML != null) {
        cb(req.responseXML);
      }
      else {
        cb(blenza_xml(req.responseText));
      }
    };
    req.send(data);
  }
  catch (e) {
    msg = e.message;
    if (msg == null || msg.length == 0) msg = "Unknown error";
    cb(blenza_xml(msg));
  }
}

function blenza_getValue(ele, name)
{
  if (ele == null) return null;
  var elems = ele.getElementsByTagName(name);
  if (elems == null) return null;
  var one = elems.item(0);
  if (one == null || one.firstChild == null) return null;
  if (one.firstChild.data != null) return one.firstChild.data;
  else return null;
}

function blenza_checkStatus(ele)
{
  if (ele == null) {
    alert("Internal error - please submit a help desk ticket at misterlinky.net/helpdesk and include the reason: could not check status");
    return false;
  }
  var sts = blenza_getValue(ele, "status");
  if (sts == "success")
    return true;
  var err = blenza_getValue(ele, "error");
  if (sts == "request-error")
    msg = "An error occurred while processing the request:\n" + err + "\nPlease try your request again later";
  else if (sts == "internal-error")
    msg = "Internal error - please submit a help desk ticket at misterlinky.net/helpdesk and include the reason: " + err;
  else if (err == "Duplicate entry")
    msg = "That entry has already been added to the list";
  else
    msg = "Error: " + err;
  alert(msg);
  return false;
}

function blenza_doInsert(form, xurl, postid, cb)
{
  var data = "";
  for (i = 0; i < form.elements.length; i++) {
    var ele = form.elements[i];
    var name = ele.name;
    if (name.length < 3 || name.substring(0,3) != "ml_") continue;
    if (data.length > 0) data += "&";
    data += name.substring(3) + "=";
    var val;
    if (ele.type == "checkbox") {
      if (ele.checked) val = ele.value;
      else val = "";
    }
    else val = ele.value;
    data += escape(val);
  }
  blenza_send(xurl + "/entry_api.php", data, postid, cb);
}

function blenza_switcheroo(off, on)
{
  var ele1 = blenza_elem(off);
  ele1.style.display = "none";
  var ele2 = blenza_elem(on);
  ele2.style.display = "block";
}

function blenza_setNextone(pi, name, url)
{
  var nx = blenza_elem("nextone-" + pi);
  if (nx != null) {
    nx.innerHTML = '<a rel="nofollow" class="blenza-link" href="' + url + '"><b>' + name + '</b></a>';
  }
}

function blenza_reThumb(a, pi)
{
  var form = document.getElementById("blenza_" + pi);
  if (form == null) {
    alert("Cannot locate form, please report internal error to Mister Linky");
    return false;
  }

  form.action = blenza_xurl + "/thumbwin.php";
  var name;
  if (form.ml_name) name = form.ml_name.value;
  else name = form.name.value;
  if (! blenza_checkName(name)) return false;
  var url;
  if (form.ml_url) url = form.ml_url.value;
  else url = form.url.value;
  if (! blenza_checkUrl(pi, url)) return false;

  a.href = blenza_xurl + "/thumbwin.php?owner=" + escape(form.ml_owner.value) + "&postid=" + escape(pi) + "&name=" + escape(name) + "&url=" + escape(url);

  return true;
}

// new and improved!
function blenza_doEnter(form) // false on error
{
  if (!form) return;
  try {
    var name = null;
    if (form.ml_name && form.ml_name.value) name = form.ml_name.value;
    var url = null;
    if (form.ml_url && form.ml_url.value) url = form.ml_url.value;
    var pi = form.ml_postid.value;
    var xurl = form.ml_xurl.value;
    if (! blenza_checkName(name)) return false;
    if (pi == null || xurl == null) {
      alert(bzloc_bugcheck);
      return false;
    }
    if (! blenza_checkUrl(pi, url)) return false;
    if (form.ml_src.value != "thumb") {
      var cb = function(doc) {
        if (! blenza_checkStatus(doc)) return;
        blenza_setNextone(pi, name, url);
        blenza_switcheroo("theform-" + pi, "theform2-" + pi);
      }
      blenza_doInsert(form, xurl, pi, cb);
    }
    else {
      var popurl = blenza_xurl + "/thumbwin.php?owner=" + escape(form.ml_owner.value) + "&postid=" + escape(pi) + "&name=" + escape(name) + "&url=" + escape(url);
      var popwin = window.open(popurl, "blenza_linkypop", "height=400,width=480,top=100,left=100,location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes,toolbar=no");
      if (popwin == null) alert(bzloc_nopopwin);
    }
  }
  catch (e) {
    alert("Uncaught error: " + e.message + "\n" + e.stack);
  }
  return false;
}

function blenza_checkName(name)
{
  if (name.length == 0) {
    alert(bzloc_checkname);
    return false;
  }
  if (name.length > blenza_opt_namemax) {
    alert(bzloc_namelength + " " + blenza_opt_namemax);
    return false;
  }
  return true;
}

function bz_starts(str, pre)
{ return (str.substring(0, pre.length) == pre); }

function blenza_checkUrl(pi, url)
{
  if (blenza_nourl[pi] > 0) return true;

  if (url.length == 0) {
    alert(bzloc_checkurl);
    return false;
  }
  if (url.length > blenza_opt_linkmax) {
    alert(bzloc_urllength + " " + blenza_opt_linkmax);
    return false;
  }
  if (!bz_starts(url, "http://") && !bz_starts(url, "https://")) {
    alert(bzloc_urlprefix);
    return false;
  }
  if (url == "http://www.") {
    alert(bzloc_checkurl);
    return false;
  }
  return true;
}

function blenza_elem(id)
{
  return document.getElementById(id);
}

function blenza_display(xurl, owner, pi)
{
  var popwin = window.open(xurl + "/display.php?owner=" + owner + "&postid=" + pi, "blenza_linkypop", "height=360,width=400,top=100,left=100,location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes,toolbar=no");
  if (popwin != null) {
    return;
  }
}

function blenza_getthumb(owner, pi, secret)
{
  var popurl = blenza_thumbGetter + "getthumb.php?owner=" + owner + "&postid=" + pi + "&secret=" + secret + "&init=true";
  var popwin = window.open(popurl, "blenza_linkypop", "height=400,width=480,top=100,left=100,location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes,toolbar=no");
  if (popwin != null)
  setTimeout(function(){ blenza_getthumb2(popwin, popurl); }, 3000);
}

function blenza_getthumb2(popwin, popurl)
{
  try {
    if (popwin == null) return;
    if (popwin.innerHeight != null) return;
  }
  catch (err) {
    return;
  }
}

function blenza_setwho(n, e, u)
{
  blenza_whoName = n;
  blenza_whoEmail = e;
  blenza_whoURL = u;
}

function blenza_setuser(v)
{
  blenza_user = v;
}

function blenza_setredx(v)
{
  blenza_showredx = v;
}

function blenza_setxurl(v)
{
  blenza_xurl = v;
}

function blenza_setcolor(v)
{
  blenza_color = v;
}

function blenza_setthumbs(pi, g, e, r, a)
{
  blenza_thumbGetter = g;
  blenza_thumbExternal = e;
  blenza_thumbRoot[pi] = r;
  blenza_thumbApprove = (a > 0);
}

function blenza_setmeme(pi, id, name, text, shared)
{
  blenza_meme_unset[pi] = false;
  blenza_meme_id[pi] = id;
  blenza_meme_name[pi] = name;
  blenza_meme_text[pi] = text;
  blenza_meme_shared[pi] = shared;
}

function blenza_unsetmeme(pi)
{
  blenza_meme_unset[pi] = true;
  blenza_meme_id[pi] = null;
  blenza_meme_name[pi] = null;
  blenza_meme_text[pi] = null;
  blenza_meme_shared[pi] = null;
}

function blenza_setYourUrl(pi, nourl, hideurl)
{
  blenza_nourl[pi] = nourl;
  blenza_hideurl[pi] = hideurl;
}

function blenza_setExpires(str)
{
  blenza_expiration = str;
}

function blenza_setMemelinks(v)
{
  blenza_memelinks = v;
}

function blenza_setWinner(name, url)
{
  blenza_winnerName = name;
  blenza_winnerUrl = url;
}

function blenza_setFliplinks(n)
{
  blenza_fliplinks = n;
}

function blenza_setBycol(n)
{
  blenza_bycol = n;
}

function blenza_dispExpires()
{
  if (blenza_expiration == null) return;
  document.write("<p>" + bzloc_expiry + ": " + blenza_expiration + ".</p>");
  if (blenza_winnerName == null) return;
  document.write("<p>" + bzloc_winner + ": <a href=\"" + blenza_winnerUrl + "\">" + blenza_winnerName + "</a>!</p>");
}

function blenza_dispexp(owner, pi, cols)
{
//blenza_colsdef
  if (cols==null) cols=3;
  document.write('<p style="border: 2px solid ' + blenza_border + '; text-align: center; padding: 4px; color: ' + blenza_border + ';"><a rel="nofollow" target="_blank" href="' + blenza_xurl + '/export.php?owner=' + owner + '&postid=' + pi + '&cols=' + cols + '">' + bzloc_owner + ': ' + bzloc_export + '</a>.  <a rel="nofollow" target="_blank" href="' + blenza_xurl + '/options_do.php?section=export&submit=Hide">' + bzloc_disablemsg + '</a>.  <a target="_blank" href="http://www.misterlinky.net/blog/?p=10">(' + bzloc_whatthis + ')</a>');
}

function blenza_dashboard(pi)
{
  document.write('<p style="border: 2px solid ' + blenza_border + '; text-align: center; padding: 4px; color: ' + blenza_border + ';">' + bzloc_owner + ' ' + bzloc_dashboard + ': <a rel="nofollow" target="_blank" href="' + blenza_xurl + '/widgets-post.php?postid=' + pi + '">' + bzloc_clickdisp + '</a>' + '.  <a target="_blank" href="http://www.misterlinky.net/blog/2014/04/blog-owner-dashboard/"><small>(' + bzloc_whatthis + ')</small></a>');
}

function blenza_cktool(xurl)
{
  var popwin = window.open(xurl + "/cookies.php", "blenza_cktool", "height=360,width=400,top=100,left=100,location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes,toolbar=no");
  return (popwin == null);
}

function blenza_isUpper(s)
{
  if ((s >= 'A') && (s <= 'Z')) return true; else return false;
}

function blenza_isLower(s)
{
  if ((s >= 'a') && (s <= 'z')) return true; else return false;
}

function blenza_isPunc(s)
{
  if (((s >= 'A') && (s <= 'Z')) || ((s >= 'a') && (s <= 'z')) || ((s >= '0') && (s <= '9')) || (s <= ' ')) return false; else return true;
}

function blenza_linkies_list(src, owner, pi, secret, cols, data)
{
  blenza_ord++;

  var closed = (blenza_expiration != null)
    && (blenza_expiration.substr(0, 3) != "in ");

  if (closed) {
    if (data[data.length-1][0] < 0) {
      data.pop();
    }
  }

  for (var i = 0; i < data.length; i++) {
    var ntukey = data[i][1]+"|"+data[i][2];
    if (((src == "thumb") && (data[i][4] == 0)) || blenza_ntu[ntukey]) {
      for (var j = i+1; j < data.length; j++) data[j-1] = data[j];
      data.pop();
      i--;
    }
    else blenza_ntu[ntukey] = 1;
  }
  var len = data.length;

  var rows = Math.floor((len + cols-1) / cols);
  var cw;
  if (cols == 1) cw = 95;
  else if (cols == 2) cw = 45;
  else if (cols == 3) cw = 28;
  var iis = new Array();
  for (var i = 0; i < cols; i++) iis[i] = i * rows;
  document.write('<div class="blenza-top"><table class="blenza-table" width="100%"><tr>');
  for (var i = 0; i < rows * cols; i++) {
    if (((i % cols) == 0) && (i != 0)) {
      document.write('</tr><tr>');
    }
    var col = i % cols;
    if (blenza_bycol && blenza_bycol > 0) ii = iis[col]++;
    else ii = i;
    if (blenza_fliplinks && blenza_fliplinks > 0) {
      ii = (len - 1) - ii;
    }
    var n = ii + 1;

    if (ii >= len || ii < 0) {
      document.write('<td class="blenza-td" width="5%" align="left" valign="top">');
      document.write("&nbsp;");
      document.write('</td>');
      document.write('<td class="blenza-td" width="' + cw + '%" align="left" valign="top">');
      document.write("&nbsp;");
      document.write('</td>');
      continue;
    }
    if (closed && (data[ii][0] < 0)) continue;
    var name = data[ii][1];
    document.write('<td class="blenza-td" width="5%" align="left" valign="top">');
    document.write('<span class="blenza-link">' + n + '.</span>');
    document.write('</td>');
    document.write('<td class="blenza-td" width="' + cw + '%" align="left" valign="top">');
    document.write('<span class="blenza-link">');
    if ((name != null) && (name.substr(0,1) == "&")) name = " " + name;
    if (name != null) {
      var newname = "";
      var inamp = false;
      for (var j = 0; j < name.length; j++) {
        var cj = name.substr(j, 1);
        if (j == 0) {
          newname += cj;
          continue;
        }
        if (cj == '&') {
          inamp = true;
          newname += cj;
          continue;
        }
        if (inamp) {
          if (cj == ';') inamp = false;
          newname += cj;
          continue;
        }
        var cp = name.substr(j-1, 1);
        if ((blenza_isUpper(cj) && blenza_isLower(cp))
            || (!blenza_isPunc(cj) && blenza_isPunc(cp))) {
          var ksp = false;
          for (k = j; (k < name.length) && (k <= j+2); k++) {
            var ck = name.substr(k, 1);
            if (ck == ' ') ksp = true;
          }
          for (k = j-1; (k >= 0) && (k >= j-3); k--) {
            var ck = name.substr(k, 1);
            if (ck == ' ') ksp = true;
          }
          if (!ksp) newname += "<span class='blenza-label' style='font-size: 1px;'> </span>";
        }
        newname += cj;
      }
      name = newname;
    }
    if (name == blenza_whoName) {
      name = "<b>" + name + "</b>";
    }
    if (data[ii][0] < 0) {
      if (src == "thumb") {
        document.write('<i' + 'mg border="0" height="75" width="75" src="' + blenza_xurl + '/images/thisisyou');
        if (blenza_color != null)
          document.write('-' + blenza_color);
        document.write('.png' + '">');
        document.write('<br>');
      }
      document.write('<span class="blenza-label" id="nextone-' + pi + '" style="display: inline">');
      if (data.length == 1) {
        document.write(bzloc_youfirst);
      }
      else {
        document.write(bzloc_younext);
      }
      document.write("!</span>");
    }
    else if (data[ii][2]) {
      document.write('<a rel="nofollow" href="' + data[ii][2] + '"');
      if (blenza_newwin == 1) document.write(' target="_blank"');
      document.write('>');
      if (src == "thumb") {
        var imgurl;
        if ((data[ii][4] < 0) && !blenza_thumbApprove) imgurl = blenza_xurl + '/images/pending.png';
        else imgurl = blenza_thumbExternal + blenza_thumbRoot[pi] + "/" + data[ii][0] + ".png";
        document.write('<i' + 'mg border="0" height="75" width="75" src="' + imgurl + '">');
        document.write('<br>');
      }
      if (src == "thumb") document.write('<div style="height:2.5em;overflow:hidden" onmouseover="this.style.overflow=\'visible\'" onmouseout="this.style.overflow=\'hidden\'">');
      document.write(name);
      document.write('</a>');
      // close div below
    }
    else {
      document.write(name);
    }
    if (data[ii][3]) {
      document.write(' <a rel="nofollow" href="' + blenza_xurl + '/mylink.php?postid=' + pi + '&entrid=' + data[ii][0] + '&secret=' + data[ii][3] + '" target="_blank"><i' + 'mg style="border: 0px; padding: 0px;" border="0" align="absmiddle" src="' + blenza_xurl + '/images/user.png"></a>');
    }
    if ((blenza_user == owner) && (data[ii][0] >= 0)) {
      document.write(' <a rel="nofollow" href="' + blenza_xurl + '/adlink.php?postid=' + pi + '&entrid=' + data[ii][0] + '" target="_blank"><i' + 'mg style="border: 0px; padding: 0px;" border="0" align="absmiddle" src="' + blenza_xurl + '/images/redx.png"></a>');
    }
    if ((blenza_winnerName != null) && (blenza_winnerUrl != null) && (blenza_winnerName == data[ii][1]) && (blenza_winnerUrl == data[ii][2]))
      document.write(' <i' + 'mg style="border: 0px; padding: 0px;" border="0" align="absmiddle" src="' + blenza_xurl + '/images/winner.png">');
    if (data[ii][2] && (src == "thumb")) document.write('</div>');
    document.write('</span>');
  }
  document.write('</td></tr></table></div>');
}

function blenza_linkies_wrap1()
{
  document.write('<div class="blenza-wrapper">');
}

function blenza_linkies_wrap2()
{
  document.write('</div>');
}

function blenza_linkies_ini(src, owner, pi, secret, cols, data, mode)
{
  var pv = document.getElementById("preview-" + pi);
  if (pv != null) pv.style.display = "none";
  if (blenza_dynamic && confirm("Blogger's Dynamic Views template does not support JavaScript. Would you like to display the widget that was posted here?")) {
    window.location = blenza_xurl + "/links.php?owner=" + owner + "&postid=" + pi + "&src=" + src;
    return;
  }
  document.write('<div class="blenza-box" id="theform-' + pi + '">');
  document.write('<span class="blenza-intro"><a id="bztitle" target="_blank" href="http://www.blenza.com/linkies/"><b>Mister Linky&#39;s Magical Widgets</b></a><br/>');
  if (mode == "link") document.write('<a target="_blank" href="' + blenza_xurl + '/links.php?owner=' + owner + '&postid=' + pi + '&src=' + src + '">');
  if (blenza_meme_name[pi]) document.write(bzloc_ifparticip + ' <i>' + blenza_meme_name[pi] + '</i>');
  else document.write(bzloc_toaddlink);
  document.write(", ");
  if (mode == "box") {
    if (src == "thumb") document.write(bzloc_thumb2);
    else document.write(bzloc_siteusing2);
  }
  if (mode == "link") document.write(bzloc_siteusing3 + '</a>.');
}

function blenza_linkies_fini(src, owner, pi, secret, cols, data)
{
  if ((blenza_meme_shared[pi] > 0) && blenza_memelinks) {
    document.write('<br/><a rel="nofollow" target="_blank" href="' + blenza_xurl + '/subs_subscr.php?id=' + blenza_meme_id[pi] + '">' + bzloc_sharedmeme + '</a>');
  }
  document.write('</span>');
  document.write('</div>');
  if (blenza_meme_text[pi] && blenza_memelinks) document.write('<div class="blenza-meme">' + blenza_meme_text[pi] + '</div>');
}

function blenza_linkies_box(src, owner, pi, secret, cols, data, mode)
{
  blenza_linkies_inn(src, owner, pi, secret, cols, data, mode, true)
}

function blenza_linkies_side(src, owner, pi, secret, cols, data, mode)
{
  blenza_linkies_inn(src, owner, pi, secret, cols, data, mode, false)
}

function blenza_linkies_inn(src, owner, pi, secret, cols, data, mode, isbox)
{
  if (blenza_meme_unset[pi]) {
    var pv = document.getElementById("preview-" + pi);
    if (pv != null) pv.style.display = "none";
    return;
  }
  blenza_linkies_ini(src, owner, pi, secret, cols, data, "box");
  if (src == "thumb") {
    button = bzloc_next;
    afterComment = "<a onclick=\"return blenza_reThumb(this, '" + pi + "')\" target=\"_blank\" href=\"\">" + bzloc_thumbnext + "</a><br>" + bzloc_comment;
  }
  else {
    button = bzloc_enter;
    afterComment = bzloc_comment;
  }
  spanCktool = '<br><a id="bzcktool" target="_blank" href="' + blenza_xurl + '/cookies.php" style="cursor:pointer;text-decoration:none" onclick="return blenza_cktool(blenza_xurl);">' + bzloc_cktool + '</a>';
  if (isbox) document.write('<table border="0" align="center">');
  document.write('<form style="display: inline;" id="blenza_' + pi + '" name="blenza_' + pi + '" ');
  if (mode == "magic") {
    document.write('onsubmit="return blenza_doEnter(this);"');
  }
  document.write('><input type="hidden" name="ml_xurl" value="' + blenza_xurl + '"/><input type="hidden" name="ml_owner" value="' + owner + '"/><input type="hidden" name="ml_secret" value="' + secret + '"/><input type="hidden" name="ml_postid" value="' + pi + '"/><input type="hidden" name="ml_meme" value="' + blenza_meme_id[pi] + '"/><input type="hidden" name="ml_src" value="' + src + '"/><input type="hidden" name="ml_timezone" value="' + new Date().getTimezoneOffset() + '"/><input type="hidden" name="ml_referer" value="' + document.referrer + '"/>');
  if (isbox) document.write('<tr><td class="blenza-inn"><table cellpadding="0" cellspacing="0" class="blenza-inn"><tr><td class="blenza-tdl" width="25%" align="right" valign="middle">');
  else document.write('<p align="center">');
  document.write('<span class="blenza-label">' + bzloc_yourname + ':</span>&nbsp;');
  if (isbox) document.write('</td><td class="blenza-tdm" width="50%" align="center" valign="middle">');
  else document.write('<br>');
  document.write('<span class="blenza-input-wrap"><input size="32" class="blenza-input" tabindex="' + ((blenza_ord*3)+101) + '" name="ml_name" alt="' + bzloc_yourname + '" value="' + blenza_whoName + '"/></span>');
  if (isbox) document.write('</td></tr>');
  else document.write('</p>');
  if (blenza_hideurl[pi] > 0) ; // if set don't show it
  else {
    if (isbox) document.write('<tr><td class="blenza-tdl" width="25%" align="right" valign="middle">');
    else document.write('<p align="center">');
    document.write('<span class="blenza-label">' + bzloc_yoururl + ':</span>&nbsp;');
    if (isbox) document.write('</td><td class="blenza-tdm" width="50%" align="center" valign="middle">');
    else document.write('<br>');
    document.write('<span class="blenza-input-wrap"><input size="32" class="blenza-input" tabindex="' + ((blenza_ord*3)+102) + '" name="ml_url" alt="' + bzloc_yoururl + '" value="' + blenza_whoURL + '"/></span>');
    if (isbox) document.write('</td></tr>');
    else document.write('</p>');
  }
  if (isbox) document.write('</table></td><td class="blenza-tdr" rowspan="2" width="25%" align="left" valign="middle">');
  else document.write('<p>');
  document.write('<span class="blenza-button-wrap">&nbsp;<input class="blenza-button" tabindex="' + ((blenza_ord*3)+103) + '" type="submit" alt="' + button + '" value="  ' + button + '  "/></span>');
  if (isbox) document.write('</td></tr>');
  else document.write('</p>');
  document.write('</form>');
  if (isbox) document.write('</table>');
  document.write('<span class="blenza-after">' + bzloc_comment + spanCktool + '</span></div><div class="blenza-box" id="theform2-' + pi + '" style="display: none;"><span class="blenza-after">' + afterComment + spanCktool);
  if (is_ie9e) document.write('<p style="margin:4px"><img id="status-' + pi + '" src="' + blenza_xurl + '/images/status-pending.png"></p>');
  if ((src != "easy") && (src != "thumb")) {
    document.write("<br/>" + bzloc_caching);
  }
  document.write('</span>');
  blenza_linkies_fini(src, owner, pi, secret, cols, data);
}

function blenza_linkies(src, owner, pi, secret, cols, data)
{
  if (pi == "^Preview") data = previewData;
  blenza_linkies_wrap1();
  blenza_linkies_list(src, owner, pi, secret, cols, data);
  if ((src == 'comm') || (src == 'disp')) return;
  if (src == 'side')
    blenza_linkies_side(src, owner, pi, secret, cols, data, "magic")
  else
    blenza_linkies_box(src, owner, pi, secret, cols, data, "magic")
  blenza_linkies_wrap2();
}

var blenza_inited = true;
try {
blenza_setwho("Bioskop Online Gratis","","http://cinemaindonet.blogspot.com");
blenza_setuser("Puspita");
blenza_setxurl("http://www.blenza.com/linkies");
blenza_setthumbs("31Oct2014b", "http://www.blenza.com/linkies/", "http://www.blenza.com/thumbs/", "p/puspita/MzFvY3QyMDE0Yg==", "");
blenza_setExpires(null);
blenza_linkies("auto","Puspita","31Oct2014b","835720601",3,
[
  // MTFqdWwyMDEy
  ["7979676","segudang info","http://www.seringcopas.blogspot.com",null,0],
  ["7979723","info gratisan","http://www.nasta69.blogspot.com",null],
  ["7988306","Akaha Medan","http://fav.fav.cc",null],
  ["8011546","Modem Gratis Mau...?","http://www.modemmode.com",null],
  ["8014718","234colour","http://234colour.blogspot.com",null],
  ["8015852","Chandra Edy Pratama","http://www.chandraedypratama.com",null],
  ["8015868","MNC Radio","http://www.mncradio.com",null],
  ["8018246","MYP Blog","http://muhammadyogapratama.blogspot.com/",null],
  ["8023488","tips blogger","http://&#39;www.gedeawansambangan.com",null],
  ["8074579","Pariaman-Cyber Community","http://pariaman-cyber.blogspot.com/",null],
  ["8086366","gunaya","http://blog-gunaya.blogspot.com",null],
  ["8107746","hitam putih news","http://hitam-putihnews.blogspot.com",null],
  ["8112254","Kumpulan Cerpen Humor Naufal","http://kccnaufal.blogspot.com/",null],
  ["8118531","Cyber Kawanua","http://cyberkawanua.blogspot.com",null],
  ["8142243","yobel","http://catatan-random-gw.blogspot.com/",null],
  ["8167211","cincinkawin","http://www.cincinkawinku.blogspot.com",null],
  ["8167220","cincin kawin / logam mulia","http://www.cincinkawinku.blogspot.com",null],
  ["8167470","cincin kawin (emas, paladium, platina, perak)","http://dutajewellery.blogspot.com/",null],
  ["8185760","KMKO Sipil Unhas|Education|Music","http://kmkosipil.blogspot.com",null],
  ["8211624","Pinjaman Uang Jaminan BPKB Mobil","http://www.pusatpinjamanuang.com",null],
  ["8211694","dunia wisata","http://www.duniawisata.info/",null],
  ["8242719","EDILI 99","http://edili99.blogspot.com/",null],
  ["8242777","Pendidikan dan Gaya Hidup","http://edili99.blogspot.com/",null],
  ["8265763","andry","http://nuansatrik.blogspot.com",null],
  ["8268058","bilogizma","http://bilogizma.blogspot.com/",null],
  ["8278497","ProfitClicking Team","http://www.profitclickingteam.biz/2012/08/cara-daftar-profitclickingcom.html",null],
  ["8278509","Diblik Catatan Mahasiswa","http://blog.ub.ac.id/ihsan1492/",null],
  ["8281793","Reza Putra Andana","http://rzablog.com/",null],
  ["8326809","Ramoek","http://ramoek.blogspot.com",null],
  ["8351169","octo jaya","http://semutmerah17.blogspot.com",null],
  ["8366679","Adrian","http://nuansashop.com",null],
  ["8384199","Kumpulan Cerita","http://www.chaonechoan.co.cc",null],
  ["8389646","bang dor","http://bangdor.blogspot.com",null],
  ["8402622","Forex Trader","http://www.caesarfx98.com",null],
  ["8412172","Free Plex | All About Information","http://free-plex.blogspot.com/",null],
  ["8428128","hasan badri","http://iklantelaga.blogspot.com",null],
  ["8428190","iklan anda semua","http://iklantelaga.blogspot.com",null],
  ["8429067","rokhland","http://rokhland.blogspot.com/",null],
  ["8433052","hunter","http://fotosexyabis.blogspot.com/",null],
  ["8434172","hikmah ash","http://sevenhsa.blogspot.com",null],
  ["8440546","Dunia Software","http://software-raymond.biz",null],
  ["8442322","Dunia Computer 36","http://duniacomputer36.blogspot.com/",null],
  ["8445601","tips hp dan komputer","http://tipsnew.blogspot.com/",null],
  ["8451971","IfanLukman","http://cyber4y.blogspot.com/",null],
  ["8459452","EDUKATIF BLOG","http://edukatif.blogspot.com/",null],
  ["8466091","Bisnis santai Untung didapat","http://www.makelarsukses.com",null],
  ["8467816","blogonasis","http://blogonasis.blogspot.com",null],
  ["8470047","abiebiru","http://seo1new.blogspot.com",null],
  ["8482504","Forum Bobotoh Persib Bandung","http://bobotoh-go.blogspot.com/",null],
  ["8487630","Bang Vandawablog","http://bangvandawablog.blogspot.com/",null],
  ["8502514","fajar","http://lampungptc.blogspot.com/",null],
  ["8515510","Menjadi Nomer Satu Di Google","http://www.rifweb.web.id/",null],
  ["8515582","Zaynul","http://zaynul13.blogspot.com",null],
  ["8517761","GALAXY ILMU","http://www.galaxy-ilmu.com",null],
  ["8517893","DEALER MOTOR HONDA BANDUNG","http://www.motorhondabandung.com",null],
  ["8521266","ace","http://buahtindry.blogspot.com",null],
  ["8521271","toko madinah:buah tin dan tasbih tulang unta","http://buahtindry.blogspot.com",null],
  ["8521284","toko mainan online","http://jualrumahmainan.blogspot.com",null],
  ["8525072","keblengers","http://keblengers.blogspot.com/",null],
  ["8539040","Darmayasa","http://putu-dharmayasa.blogspot.com/",null],
  ["8539041","putu Darmayasa","http://putu-darmayasa.blogspot.com/",null],
  ["8548857","Handbook","http://www.handsocial.com/",null],
  ["8574247","hot news","http://www.kawandnews.com/",null],
  ["8574248","hot news sex.com","http://www.kawandnews.com/",null],
  ["8586461","steven","http://berio-info.blogspot.com",null],
  ["8623560","blog nadya","http://indonesian-bokeps.blogspot.com/",null],
  ["8660611","Grup Batang","http://www.grupbatang.org",null],
  ["8660616","Playlistindo","http://playlistindo.blogspot.com",null],
  ["8663701","IndoNERSia Center","http://indonersiacenter.blogspot.com/",null],
  ["8672591","Backlin Gratis","http://freebacklinkspider.blogspot.com/",null],
  ["8672615","BACKLINK GRATIS BERKUALITAS","http://freebacklinkspider.blogspot.com/",null],
  ["8684702","heni johan","http://merawatcatmobil-murah.blogspot.com",null],
  ["8766609","neviel","http://freeforexnewbie.blogspot.com/",null],
  ["8768265","Rizla Mobile Blog&#039;s","http://arleg.heck.in",null],
  ["8789526","Isya Ansyari","http://www.learnmine.blogspot.com/",null],
  ["8816859","blog untuk semua","http://omjek2.blogspot.com",null],
  ["8839321","Info Antinyunyus","http://www.antinyunyus.blogspot.com",null],
  ["8884392","Irfan Syahputra","http://irfansyahpuutra.blogspot.com",null],
  ["8962418","Zona Pengetahuan dan Informasi","http://www.sibarasok.web.id/",null],
  ["8975753","softsound","http://mynevadadreamjob.net",null],
  ["9005240","NICKY HENDRYANA","http://din-aqsh.blogspot.com/",null],
  ["9024772","Coretan Uman","http://coretan-uman.blogspot.com",null],
  ["9033760","Otomatis Backlink","http://otomatis-backlink.blogspot.com",null],
  ["9039781","wingtranscargo","http://pengiriman-mobil-container.blogspot.com/",null],
  ["9063666","SabriBantaeng.Blog","http://sabribantaeng.blogspot.com",null],
  ["9065518","Agen Pulsa Murah","http://pulsappreload.blogspot.com",null],
  ["9116963","Baca Info-Info Menarik Disini","http://augustreinaldo.blogspot.com/",null],
  ["9171625","faisal ardi","http://inginmengabdi.blogspot.com",null],
  ["9219199","ALL IN ONE BLOG&#039;S","http://www.cyber-dev.blogspot.com",null],
  ["9250740","FREE DOWNLOAD SOFTWARE | GAME | MOVIE | TIPS AND TRICK 2013","http://oasis31.blogspot.com/",null],
  ["9280087","Peace Love&#039;s","http://dot-peace.blogspot.com/",null],
  ["9283104","Cara Blogger","http://my-topsite.blogspot.com",null],
  ["9283133","Auto Backlink Indonesia","http://my-autobacklink.blogspot.com",null],
  ["9403587","Harga sepeda motor","http://www.nextbiker.com",null],
  ["9445718","dewasa","http://obat-perangsangtop.blogspot.com/",null],
  ["9554379","Contoh Surat","http://royadisaja.blogspot.com/",null],
  ["9654717","ali arsa","http://jalantercepat.blogspot.com",null],
  ["9656595","mufrihul fajri","http://mufrihulremajaislam.blogspot.com/",null],
  ["9681404","Andhi Setya Hermawan","http://peluangbisnisberjangka.blogspot.com/",null],
  ["9691686","Men&#039;s Fashion","http://www.realmenfashions.com",null],
  ["9723858","Situs Pasang Iklan Gratis","http://situsiklangratisan.blogspot.com/",null],
  ["9760978","Fresh Oppai","http://freshoppai-autobacklink.blogspot.com/",null],
  ["9784900","Rio Fumioru","http://www.riofumioru.com/",null],
  ["9803874","Hacker And Cybers","http://hackerandcybers.blogspot.com/",null],
  ["9911493","Pasang Iklan Gratis Tanpa Daftar","http://iklanolx.com/",null],
  ["9911582","OddNews","http://vra-oddnews.blogspot.com/",null],
  ["9993908","bumi kartini","http://bumikartini.com",null],
  ["10144551","Nukeshop","http://nukeshop.bl.ee",null],
  ["10195611","BRITISH Course","http://britishcourse.com",null],
  ["10241593","Kenari Import","http://kenari-import.blogspot.com/",null],
  ["10243986","Puspita","http://www.bioskop78.com/",null],
  ["10243988","Puspita","http://cinemaindonet.blogspot.com/",null],
  [-2, null, null, null]
]);
blenza_dispExpires();
}
catch (blenza_error) {
}